package com.ruoyi.quanzi.domain;

import java.util.Date;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 sun_user
 * 
 * @author ruoyi
 */
public class SunUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Integer uid;

    /** 手机号码 */
    private String mobile;

    /** 用户账号 */
    private String username;

    /** 密码 */
    private String password;

    /** 用户组ID */
    private Integer groupId;

    /** 头像地址 */
    private String avatar;

    /** 用户性别（0未知 1男 2女） */
    private Integer gender;

    /** 省份 */
    private String province;

    /** 城市 */
    private String city;

    /** 小程序openid */
    private String openid;

    /** 公众号openid */
    private String mpOpenid;

    /** 微信unionid */
    private String unionid;

    /** 帐号状态（0正常 1停用） */
    private Integer status;

    /** 个人简介 */
    private String intro;

    /** 积分 */
    private Integer integral;

    /** 最后登录IP */
    private String lastLoginIp;

    /** 标签字符串 */
    private String tagStr;

    /** 用户类型（0普通用户 1官方账号） */
    private Integer type;

    /** 是否已关注（非数据库字段，用于前端显示） */
    private Boolean isFollowed;

    public Integer getUid()
    {
        return uid;
    }

    public void setUid(Integer uid)
    {
        this.uid = uid;
    }

    public String getMobile()
    {
        return mobile;
    }

    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getUsername()
    {
        return username;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public Integer getGroupId()
    {
        return groupId;
    }

    public void setGroupId(Integer groupId)
    {
        this.groupId = groupId;
    }

    public String getAvatar()
    {
        return avatar;
    }

    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public Integer getGender()
    {
        return gender;
    }

    public void setGender(Integer gender)
    {
        this.gender = gender;
    }

    public String getProvince()
    {
        return province;
    }

    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getCity()
    {
        return city;
    }

    public void setCity(String city)
    {
        this.city = city;
    }

    public String getOpenid()
    {
        return openid;
    }

    public void setOpenid(String openid)
    {
        this.openid = openid;
    }

    public String getMpOpenid()
    {
        return mpOpenid;
    }

    public void setMpOpenid(String mpOpenid)
    {
        this.mpOpenid = mpOpenid;
    }

    public String getUnionid()
    {
        return unionid;
    }

    public void setUnionid(String unionid)
    {
        this.unionid = unionid;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public String getIntro()
    {
        return intro;
    }

    public void setIntro(String intro)
    {
        this.intro = intro;
    }

    public Integer getIntegral()
    {
        return integral;
    }

    public void setIntegral(Integer integral)
    {
        this.integral = integral;
    }

    public String getLastLoginIp()
    {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp)
    {
        this.lastLoginIp = lastLoginIp;
    }

    public String getTagStr()
    {
        return tagStr;
    }

    public void setTagStr(String tagStr)
    {
        this.tagStr = tagStr;
    }

    public Integer getType()
    {
        return type;
    }

    public void setType(Integer type)
    {
        this.type = type;
    }
    
    public Boolean getIsFollowed()
    {
        return isFollowed;
    }

    public void setIsFollowed(Boolean isFollowed)
    {
        this.isFollowed = isFollowed;
    }

    public Boolean getFollowed() {
        return isFollowed;
    }

    public void setFollowed(Boolean followed) {
        isFollowed = followed;
    }
}